package com.rc.saas.mini.model.hlht;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class HlhtOperatorOrderCheckExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public HlhtOperatorOrderCheckExample() {
        oredCriteria = new ArrayList<>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andOrderIdIsNull() {
            addCriterion("order_id is null");
            return (Criteria) this;
        }

        public Criteria andOrderIdIsNotNull() {
            addCriterion("order_id is not null");
            return (Criteria) this;
        }

        public Criteria andOrderIdEqualTo(Long value) {
            addCriterion("order_id =", value, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdNotEqualTo(Long value) {
            addCriterion("order_id <>", value, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdGreaterThan(Long value) {
            addCriterion("order_id >", value, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdGreaterThanOrEqualTo(Long value) {
            addCriterion("order_id >=", value, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdLessThan(Long value) {
            addCriterion("order_id <", value, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdLessThanOrEqualTo(Long value) {
            addCriterion("order_id <=", value, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdIn(List<Long> values) {
            addCriterion("order_id in", values, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdNotIn(List<Long> values) {
            addCriterion("order_id not in", values, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdBetween(Long value1, Long value2) {
            addCriterion("order_id between", value1, value2, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdNotBetween(Long value1, Long value2) {
            addCriterion("order_id not between", value1, value2, "orderId");
            return (Criteria) this;
        }

        public Criteria andTenantCodeIsNull() {
            addCriterion("tenant_code is null");
            return (Criteria) this;
        }

        public Criteria andTenantCodeIsNotNull() {
            addCriterion("tenant_code is not null");
            return (Criteria) this;
        }

        public Criteria andTenantCodeEqualTo(String value) {
            addCriterion("tenant_code =", value, "tenantCode");
            return (Criteria) this;
        }

        public Criteria andTenantCodeNotEqualTo(String value) {
            addCriterion("tenant_code <>", value, "tenantCode");
            return (Criteria) this;
        }

        public Criteria andTenantCodeGreaterThan(String value) {
            addCriterion("tenant_code >", value, "tenantCode");
            return (Criteria) this;
        }

        public Criteria andTenantCodeGreaterThanOrEqualTo(String value) {
            addCriterion("tenant_code >=", value, "tenantCode");
            return (Criteria) this;
        }

        public Criteria andTenantCodeLessThan(String value) {
            addCriterion("tenant_code <", value, "tenantCode");
            return (Criteria) this;
        }

        public Criteria andTenantCodeLessThanOrEqualTo(String value) {
            addCriterion("tenant_code <=", value, "tenantCode");
            return (Criteria) this;
        }

        public Criteria andTenantCodeLike(String value) {
            addCriterion("tenant_code like", value, "tenantCode");
            return (Criteria) this;
        }

        public Criteria andTenantCodeNotLike(String value) {
            addCriterion("tenant_code not like", value, "tenantCode");
            return (Criteria) this;
        }

        public Criteria andTenantCodeIn(List<String> values) {
            addCriterion("tenant_code in", values, "tenantCode");
            return (Criteria) this;
        }

        public Criteria andTenantCodeNotIn(List<String> values) {
            addCriterion("tenant_code not in", values, "tenantCode");
            return (Criteria) this;
        }

        public Criteria andTenantCodeBetween(String value1, String value2) {
            addCriterion("tenant_code between", value1, value2, "tenantCode");
            return (Criteria) this;
        }

        public Criteria andTenantCodeNotBetween(String value1, String value2) {
            addCriterion("tenant_code not between", value1, value2, "tenantCode");
            return (Criteria) this;
        }

        public Criteria andHlhtOperatorIdIsNull() {
            addCriterion("hlht_operator_id is null");
            return (Criteria) this;
        }

        public Criteria andHlhtOperatorIdIsNotNull() {
            addCriterion("hlht_operator_id is not null");
            return (Criteria) this;
        }

        public Criteria andHlhtOperatorIdEqualTo(String value) {
            addCriterion("hlht_operator_id =", value, "hlhtOperatorId");
            return (Criteria) this;
        }

        public Criteria andHlhtOperatorIdNotEqualTo(String value) {
            addCriterion("hlht_operator_id <>", value, "hlhtOperatorId");
            return (Criteria) this;
        }

        public Criteria andHlhtOperatorIdGreaterThan(String value) {
            addCriterion("hlht_operator_id >", value, "hlhtOperatorId");
            return (Criteria) this;
        }

        public Criteria andHlhtOperatorIdGreaterThanOrEqualTo(String value) {
            addCriterion("hlht_operator_id >=", value, "hlhtOperatorId");
            return (Criteria) this;
        }

        public Criteria andHlhtOperatorIdLessThan(String value) {
            addCriterion("hlht_operator_id <", value, "hlhtOperatorId");
            return (Criteria) this;
        }

        public Criteria andHlhtOperatorIdLessThanOrEqualTo(String value) {
            addCriterion("hlht_operator_id <=", value, "hlhtOperatorId");
            return (Criteria) this;
        }

        public Criteria andHlhtOperatorIdLike(String value) {
            addCriterion("hlht_operator_id like", value, "hlhtOperatorId");
            return (Criteria) this;
        }

        public Criteria andHlhtOperatorIdNotLike(String value) {
            addCriterion("hlht_operator_id not like", value, "hlhtOperatorId");
            return (Criteria) this;
        }

        public Criteria andHlhtOperatorIdIn(List<String> values) {
            addCriterion("hlht_operator_id in", values, "hlhtOperatorId");
            return (Criteria) this;
        }

        public Criteria andHlhtOperatorIdNotIn(List<String> values) {
            addCriterion("hlht_operator_id not in", values, "hlhtOperatorId");
            return (Criteria) this;
        }

        public Criteria andHlhtOperatorIdBetween(String value1, String value2) {
            addCriterion("hlht_operator_id between", value1, value2, "hlhtOperatorId");
            return (Criteria) this;
        }

        public Criteria andHlhtOperatorIdNotBetween(String value1, String value2) {
            addCriterion("hlht_operator_id not between", value1, value2, "hlhtOperatorId");
            return (Criteria) this;
        }

        public Criteria andElecStationIdIsNull() {
            addCriterion("elec_station_id is null");
            return (Criteria) this;
        }

        public Criteria andElecStationIdIsNotNull() {
            addCriterion("elec_station_id is not null");
            return (Criteria) this;
        }

        public Criteria andElecStationIdEqualTo(Long value) {
            addCriterion("elec_station_id =", value, "elecStationId");
            return (Criteria) this;
        }

        public Criteria andElecStationIdNotEqualTo(Long value) {
            addCriterion("elec_station_id <>", value, "elecStationId");
            return (Criteria) this;
        }

        public Criteria andElecStationIdGreaterThan(Long value) {
            addCriterion("elec_station_id >", value, "elecStationId");
            return (Criteria) this;
        }

        public Criteria andElecStationIdGreaterThanOrEqualTo(Long value) {
            addCriterion("elec_station_id >=", value, "elecStationId");
            return (Criteria) this;
        }

        public Criteria andElecStationIdLessThan(Long value) {
            addCriterion("elec_station_id <", value, "elecStationId");
            return (Criteria) this;
        }

        public Criteria andElecStationIdLessThanOrEqualTo(Long value) {
            addCriterion("elec_station_id <=", value, "elecStationId");
            return (Criteria) this;
        }

        public Criteria andElecStationIdIn(List<Long> values) {
            addCriterion("elec_station_id in", values, "elecStationId");
            return (Criteria) this;
        }

        public Criteria andElecStationIdNotIn(List<Long> values) {
            addCriterion("elec_station_id not in", values, "elecStationId");
            return (Criteria) this;
        }

        public Criteria andElecStationIdBetween(Long value1, Long value2) {
            addCriterion("elec_station_id between", value1, value2, "elecStationId");
            return (Criteria) this;
        }

        public Criteria andElecStationIdNotBetween(Long value1, Long value2) {
            addCriterion("elec_station_id not between", value1, value2, "elecStationId");
            return (Criteria) this;
        }

        public Criteria andElecPileIdIsNull() {
            addCriterion("elec_pile_id is null");
            return (Criteria) this;
        }

        public Criteria andElecPileIdIsNotNull() {
            addCriterion("elec_pile_id is not null");
            return (Criteria) this;
        }

        public Criteria andElecPileIdEqualTo(Long value) {
            addCriterion("elec_pile_id =", value, "elecPileId");
            return (Criteria) this;
        }

        public Criteria andElecPileIdNotEqualTo(Long value) {
            addCriterion("elec_pile_id <>", value, "elecPileId");
            return (Criteria) this;
        }

        public Criteria andElecPileIdGreaterThan(Long value) {
            addCriterion("elec_pile_id >", value, "elecPileId");
            return (Criteria) this;
        }

        public Criteria andElecPileIdGreaterThanOrEqualTo(Long value) {
            addCriterion("elec_pile_id >=", value, "elecPileId");
            return (Criteria) this;
        }

        public Criteria andElecPileIdLessThan(Long value) {
            addCriterion("elec_pile_id <", value, "elecPileId");
            return (Criteria) this;
        }

        public Criteria andElecPileIdLessThanOrEqualTo(Long value) {
            addCriterion("elec_pile_id <=", value, "elecPileId");
            return (Criteria) this;
        }

        public Criteria andElecPileIdIn(List<Long> values) {
            addCriterion("elec_pile_id in", values, "elecPileId");
            return (Criteria) this;
        }

        public Criteria andElecPileIdNotIn(List<Long> values) {
            addCriterion("elec_pile_id not in", values, "elecPileId");
            return (Criteria) this;
        }

        public Criteria andElecPileIdBetween(Long value1, Long value2) {
            addCriterion("elec_pile_id between", value1, value2, "elecPileId");
            return (Criteria) this;
        }

        public Criteria andElecPileIdNotBetween(Long value1, Long value2) {
            addCriterion("elec_pile_id not between", value1, value2, "elecPileId");
            return (Criteria) this;
        }

        public Criteria andElecGunIdIsNull() {
            addCriterion("elec_gun_id is null");
            return (Criteria) this;
        }

        public Criteria andElecGunIdIsNotNull() {
            addCriterion("elec_gun_id is not null");
            return (Criteria) this;
        }

        public Criteria andElecGunIdEqualTo(Long value) {
            addCriterion("elec_gun_id =", value, "elecGunId");
            return (Criteria) this;
        }

        public Criteria andElecGunIdNotEqualTo(Long value) {
            addCriterion("elec_gun_id <>", value, "elecGunId");
            return (Criteria) this;
        }

        public Criteria andElecGunIdGreaterThan(Long value) {
            addCriterion("elec_gun_id >", value, "elecGunId");
            return (Criteria) this;
        }

        public Criteria andElecGunIdGreaterThanOrEqualTo(Long value) {
            addCriterion("elec_gun_id >=", value, "elecGunId");
            return (Criteria) this;
        }

        public Criteria andElecGunIdLessThan(Long value) {
            addCriterion("elec_gun_id <", value, "elecGunId");
            return (Criteria) this;
        }

        public Criteria andElecGunIdLessThanOrEqualTo(Long value) {
            addCriterion("elec_gun_id <=", value, "elecGunId");
            return (Criteria) this;
        }

        public Criteria andElecGunIdIn(List<Long> values) {
            addCriterion("elec_gun_id in", values, "elecGunId");
            return (Criteria) this;
        }

        public Criteria andElecGunIdNotIn(List<Long> values) {
            addCriterion("elec_gun_id not in", values, "elecGunId");
            return (Criteria) this;
        }

        public Criteria andElecGunIdBetween(Long value1, Long value2) {
            addCriterion("elec_gun_id between", value1, value2, "elecGunId");
            return (Criteria) this;
        }

        public Criteria andElecGunIdNotBetween(Long value1, Long value2) {
            addCriterion("elec_gun_id not between", value1, value2, "elecGunId");
            return (Criteria) this;
        }

        public Criteria andOrderNumIsNull() {
            addCriterion("order_num is null");
            return (Criteria) this;
        }

        public Criteria andOrderNumIsNotNull() {
            addCriterion("order_num is not null");
            return (Criteria) this;
        }

        public Criteria andOrderNumEqualTo(String value) {
            addCriterion("order_num =", value, "orderNum");
            return (Criteria) this;
        }

        public Criteria andOrderNumNotEqualTo(String value) {
            addCriterion("order_num <>", value, "orderNum");
            return (Criteria) this;
        }

        public Criteria andOrderNumGreaterThan(String value) {
            addCriterion("order_num >", value, "orderNum");
            return (Criteria) this;
        }

        public Criteria andOrderNumGreaterThanOrEqualTo(String value) {
            addCriterion("order_num >=", value, "orderNum");
            return (Criteria) this;
        }

        public Criteria andOrderNumLessThan(String value) {
            addCriterion("order_num <", value, "orderNum");
            return (Criteria) this;
        }

        public Criteria andOrderNumLessThanOrEqualTo(String value) {
            addCriterion("order_num <=", value, "orderNum");
            return (Criteria) this;
        }

        public Criteria andOrderNumLike(String value) {
            addCriterion("order_num like", value, "orderNum");
            return (Criteria) this;
        }

        public Criteria andOrderNumNotLike(String value) {
            addCriterion("order_num not like", value, "orderNum");
            return (Criteria) this;
        }

        public Criteria andOrderNumIn(List<String> values) {
            addCriterion("order_num in", values, "orderNum");
            return (Criteria) this;
        }

        public Criteria andOrderNumNotIn(List<String> values) {
            addCriterion("order_num not in", values, "orderNum");
            return (Criteria) this;
        }

        public Criteria andOrderNumBetween(String value1, String value2) {
            addCriterion("order_num between", value1, value2, "orderNum");
            return (Criteria) this;
        }

        public Criteria andOrderNumNotBetween(String value1, String value2) {
            addCriterion("order_num not between", value1, value2, "orderNum");
            return (Criteria) this;
        }

        public Criteria andOutOrderNumIsNull() {
            addCriterion("out_order_num is null");
            return (Criteria) this;
        }

        public Criteria andOutOrderNumIsNotNull() {
            addCriterion("out_order_num is not null");
            return (Criteria) this;
        }

        public Criteria andOutOrderNumEqualTo(String value) {
            addCriterion("out_order_num =", value, "outOrderNum");
            return (Criteria) this;
        }

        public Criteria andOutOrderNumNotEqualTo(String value) {
            addCriterion("out_order_num <>", value, "outOrderNum");
            return (Criteria) this;
        }

        public Criteria andOutOrderNumGreaterThan(String value) {
            addCriterion("out_order_num >", value, "outOrderNum");
            return (Criteria) this;
        }

        public Criteria andOutOrderNumGreaterThanOrEqualTo(String value) {
            addCriterion("out_order_num >=", value, "outOrderNum");
            return (Criteria) this;
        }

        public Criteria andOutOrderNumLessThan(String value) {
            addCriterion("out_order_num <", value, "outOrderNum");
            return (Criteria) this;
        }

        public Criteria andOutOrderNumLessThanOrEqualTo(String value) {
            addCriterion("out_order_num <=", value, "outOrderNum");
            return (Criteria) this;
        }

        public Criteria andOutOrderNumLike(String value) {
            addCriterion("out_order_num like", value, "outOrderNum");
            return (Criteria) this;
        }

        public Criteria andOutOrderNumNotLike(String value) {
            addCriterion("out_order_num not like", value, "outOrderNum");
            return (Criteria) this;
        }

        public Criteria andOutOrderNumIn(List<String> values) {
            addCriterion("out_order_num in", values, "outOrderNum");
            return (Criteria) this;
        }

        public Criteria andOutOrderNumNotIn(List<String> values) {
            addCriterion("out_order_num not in", values, "outOrderNum");
            return (Criteria) this;
        }

        public Criteria andOutOrderNumBetween(String value1, String value2) {
            addCriterion("out_order_num between", value1, value2, "outOrderNum");
            return (Criteria) this;
        }

        public Criteria andOutOrderNumNotBetween(String value1, String value2) {
            addCriterion("out_order_num not between", value1, value2, "outOrderNum");
            return (Criteria) this;
        }

        public Criteria andStartTimeIsNull() {
            addCriterion("start_time is null");
            return (Criteria) this;
        }

        public Criteria andStartTimeIsNotNull() {
            addCriterion("start_time is not null");
            return (Criteria) this;
        }

        public Criteria andStartTimeEqualTo(Date value) {
            addCriterion("start_time =", value, "startTime");
            return (Criteria) this;
        }

        public Criteria andStartTimeNotEqualTo(Date value) {
            addCriterion("start_time <>", value, "startTime");
            return (Criteria) this;
        }

        public Criteria andStartTimeGreaterThan(Date value) {
            addCriterion("start_time >", value, "startTime");
            return (Criteria) this;
        }

        public Criteria andStartTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("start_time >=", value, "startTime");
            return (Criteria) this;
        }

        public Criteria andStartTimeLessThan(Date value) {
            addCriterion("start_time <", value, "startTime");
            return (Criteria) this;
        }

        public Criteria andStartTimeLessThanOrEqualTo(Date value) {
            addCriterion("start_time <=", value, "startTime");
            return (Criteria) this;
        }

        public Criteria andStartTimeIn(List<Date> values) {
            addCriterion("start_time in", values, "startTime");
            return (Criteria) this;
        }

        public Criteria andStartTimeNotIn(List<Date> values) {
            addCriterion("start_time not in", values, "startTime");
            return (Criteria) this;
        }

        public Criteria andStartTimeBetween(Date value1, Date value2) {
            addCriterion("start_time between", value1, value2, "startTime");
            return (Criteria) this;
        }

        public Criteria andStartTimeNotBetween(Date value1, Date value2) {
            addCriterion("start_time not between", value1, value2, "startTime");
            return (Criteria) this;
        }

        public Criteria andEndTimeIsNull() {
            addCriterion("end_time is null");
            return (Criteria) this;
        }

        public Criteria andEndTimeIsNotNull() {
            addCriterion("end_time is not null");
            return (Criteria) this;
        }

        public Criteria andEndTimeEqualTo(Date value) {
            addCriterion("end_time =", value, "endTime");
            return (Criteria) this;
        }

        public Criteria andEndTimeNotEqualTo(Date value) {
            addCriterion("end_time <>", value, "endTime");
            return (Criteria) this;
        }

        public Criteria andEndTimeGreaterThan(Date value) {
            addCriterion("end_time >", value, "endTime");
            return (Criteria) this;
        }

        public Criteria andEndTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("end_time >=", value, "endTime");
            return (Criteria) this;
        }

        public Criteria andEndTimeLessThan(Date value) {
            addCriterion("end_time <", value, "endTime");
            return (Criteria) this;
        }

        public Criteria andEndTimeLessThanOrEqualTo(Date value) {
            addCriterion("end_time <=", value, "endTime");
            return (Criteria) this;
        }

        public Criteria andEndTimeIn(List<Date> values) {
            addCriterion("end_time in", values, "endTime");
            return (Criteria) this;
        }

        public Criteria andEndTimeNotIn(List<Date> values) {
            addCriterion("end_time not in", values, "endTime");
            return (Criteria) this;
        }

        public Criteria andEndTimeBetween(Date value1, Date value2) {
            addCriterion("end_time between", value1, value2, "endTime");
            return (Criteria) this;
        }

        public Criteria andEndTimeNotBetween(Date value1, Date value2) {
            addCriterion("end_time not between", value1, value2, "endTime");
            return (Criteria) this;
        }

        public Criteria andTotalPowerIsNull() {
            addCriterion("total_power is null");
            return (Criteria) this;
        }

        public Criteria andTotalPowerIsNotNull() {
            addCriterion("total_power is not null");
            return (Criteria) this;
        }

        public Criteria andTotalPowerEqualTo(BigDecimal value) {
            addCriterion("total_power =", value, "totalPower");
            return (Criteria) this;
        }

        public Criteria andTotalPowerNotEqualTo(BigDecimal value) {
            addCriterion("total_power <>", value, "totalPower");
            return (Criteria) this;
        }

        public Criteria andTotalPowerGreaterThan(BigDecimal value) {
            addCriterion("total_power >", value, "totalPower");
            return (Criteria) this;
        }

        public Criteria andTotalPowerGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("total_power >=", value, "totalPower");
            return (Criteria) this;
        }

        public Criteria andTotalPowerLessThan(BigDecimal value) {
            addCriterion("total_power <", value, "totalPower");
            return (Criteria) this;
        }

        public Criteria andTotalPowerLessThanOrEqualTo(BigDecimal value) {
            addCriterion("total_power <=", value, "totalPower");
            return (Criteria) this;
        }

        public Criteria andTotalPowerIn(List<BigDecimal> values) {
            addCriterion("total_power in", values, "totalPower");
            return (Criteria) this;
        }

        public Criteria andTotalPowerNotIn(List<BigDecimal> values) {
            addCriterion("total_power not in", values, "totalPower");
            return (Criteria) this;
        }

        public Criteria andTotalPowerBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("total_power between", value1, value2, "totalPower");
            return (Criteria) this;
        }

        public Criteria andTotalPowerNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("total_power not between", value1, value2, "totalPower");
            return (Criteria) this;
        }

        public Criteria andTotalElecMoneyIsNull() {
            addCriterion("total_elec_money is null");
            return (Criteria) this;
        }

        public Criteria andTotalElecMoneyIsNotNull() {
            addCriterion("total_elec_money is not null");
            return (Criteria) this;
        }

        public Criteria andTotalElecMoneyEqualTo(BigDecimal value) {
            addCriterion("total_elec_money =", value, "totalElecMoney");
            return (Criteria) this;
        }

        public Criteria andTotalElecMoneyNotEqualTo(BigDecimal value) {
            addCriterion("total_elec_money <>", value, "totalElecMoney");
            return (Criteria) this;
        }

        public Criteria andTotalElecMoneyGreaterThan(BigDecimal value) {
            addCriterion("total_elec_money >", value, "totalElecMoney");
            return (Criteria) this;
        }

        public Criteria andTotalElecMoneyGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("total_elec_money >=", value, "totalElecMoney");
            return (Criteria) this;
        }

        public Criteria andTotalElecMoneyLessThan(BigDecimal value) {
            addCriterion("total_elec_money <", value, "totalElecMoney");
            return (Criteria) this;
        }

        public Criteria andTotalElecMoneyLessThanOrEqualTo(BigDecimal value) {
            addCriterion("total_elec_money <=", value, "totalElecMoney");
            return (Criteria) this;
        }

        public Criteria andTotalElecMoneyIn(List<BigDecimal> values) {
            addCriterion("total_elec_money in", values, "totalElecMoney");
            return (Criteria) this;
        }

        public Criteria andTotalElecMoneyNotIn(List<BigDecimal> values) {
            addCriterion("total_elec_money not in", values, "totalElecMoney");
            return (Criteria) this;
        }

        public Criteria andTotalElecMoneyBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("total_elec_money between", value1, value2, "totalElecMoney");
            return (Criteria) this;
        }

        public Criteria andTotalElecMoneyNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("total_elec_money not between", value1, value2, "totalElecMoney");
            return (Criteria) this;
        }

        public Criteria andTotalSeviceMoneyIsNull() {
            addCriterion("total_sevice_money is null");
            return (Criteria) this;
        }

        public Criteria andTotalSeviceMoneyIsNotNull() {
            addCriterion("total_sevice_money is not null");
            return (Criteria) this;
        }

        public Criteria andTotalSeviceMoneyEqualTo(BigDecimal value) {
            addCriterion("total_sevice_money =", value, "totalSeviceMoney");
            return (Criteria) this;
        }

        public Criteria andTotalSeviceMoneyNotEqualTo(BigDecimal value) {
            addCriterion("total_sevice_money <>", value, "totalSeviceMoney");
            return (Criteria) this;
        }

        public Criteria andTotalSeviceMoneyGreaterThan(BigDecimal value) {
            addCriterion("total_sevice_money >", value, "totalSeviceMoney");
            return (Criteria) this;
        }

        public Criteria andTotalSeviceMoneyGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("total_sevice_money >=", value, "totalSeviceMoney");
            return (Criteria) this;
        }

        public Criteria andTotalSeviceMoneyLessThan(BigDecimal value) {
            addCriterion("total_sevice_money <", value, "totalSeviceMoney");
            return (Criteria) this;
        }

        public Criteria andTotalSeviceMoneyLessThanOrEqualTo(BigDecimal value) {
            addCriterion("total_sevice_money <=", value, "totalSeviceMoney");
            return (Criteria) this;
        }

        public Criteria andTotalSeviceMoneyIn(List<BigDecimal> values) {
            addCriterion("total_sevice_money in", values, "totalSeviceMoney");
            return (Criteria) this;
        }

        public Criteria andTotalSeviceMoneyNotIn(List<BigDecimal> values) {
            addCriterion("total_sevice_money not in", values, "totalSeviceMoney");
            return (Criteria) this;
        }

        public Criteria andTotalSeviceMoneyBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("total_sevice_money between", value1, value2, "totalSeviceMoney");
            return (Criteria) this;
        }

        public Criteria andTotalSeviceMoneyNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("total_sevice_money not between", value1, value2, "totalSeviceMoney");
            return (Criteria) this;
        }

        public Criteria andTotalMoneyIsNull() {
            addCriterion("total_money is null");
            return (Criteria) this;
        }

        public Criteria andTotalMoneyIsNotNull() {
            addCriterion("total_money is not null");
            return (Criteria) this;
        }

        public Criteria andTotalMoneyEqualTo(BigDecimal value) {
            addCriterion("total_money =", value, "totalMoney");
            return (Criteria) this;
        }

        public Criteria andTotalMoneyNotEqualTo(BigDecimal value) {
            addCriterion("total_money <>", value, "totalMoney");
            return (Criteria) this;
        }

        public Criteria andTotalMoneyGreaterThan(BigDecimal value) {
            addCriterion("total_money >", value, "totalMoney");
            return (Criteria) this;
        }

        public Criteria andTotalMoneyGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("total_money >=", value, "totalMoney");
            return (Criteria) this;
        }

        public Criteria andTotalMoneyLessThan(BigDecimal value) {
            addCriterion("total_money <", value, "totalMoney");
            return (Criteria) this;
        }

        public Criteria andTotalMoneyLessThanOrEqualTo(BigDecimal value) {
            addCriterion("total_money <=", value, "totalMoney");
            return (Criteria) this;
        }

        public Criteria andTotalMoneyIn(List<BigDecimal> values) {
            addCriterion("total_money in", values, "totalMoney");
            return (Criteria) this;
        }

        public Criteria andTotalMoneyNotIn(List<BigDecimal> values) {
            addCriterion("total_money not in", values, "totalMoney");
            return (Criteria) this;
        }

        public Criteria andTotalMoneyBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("total_money between", value1, value2, "totalMoney");
            return (Criteria) this;
        }

        public Criteria andTotalMoneyNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("total_money not between", value1, value2, "totalMoney");
            return (Criteria) this;
        }

        public Criteria andOutTotalPowerIsNull() {
            addCriterion("out_total_power is null");
            return (Criteria) this;
        }

        public Criteria andOutTotalPowerIsNotNull() {
            addCriterion("out_total_power is not null");
            return (Criteria) this;
        }

        public Criteria andOutTotalPowerEqualTo(BigDecimal value) {
            addCriterion("out_total_power =", value, "outTotalPower");
            return (Criteria) this;
        }

        public Criteria andOutTotalPowerNotEqualTo(BigDecimal value) {
            addCriterion("out_total_power <>", value, "outTotalPower");
            return (Criteria) this;
        }

        public Criteria andOutTotalPowerGreaterThan(BigDecimal value) {
            addCriterion("out_total_power >", value, "outTotalPower");
            return (Criteria) this;
        }

        public Criteria andOutTotalPowerGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("out_total_power >=", value, "outTotalPower");
            return (Criteria) this;
        }

        public Criteria andOutTotalPowerLessThan(BigDecimal value) {
            addCriterion("out_total_power <", value, "outTotalPower");
            return (Criteria) this;
        }

        public Criteria andOutTotalPowerLessThanOrEqualTo(BigDecimal value) {
            addCriterion("out_total_power <=", value, "outTotalPower");
            return (Criteria) this;
        }

        public Criteria andOutTotalPowerIn(List<BigDecimal> values) {
            addCriterion("out_total_power in", values, "outTotalPower");
            return (Criteria) this;
        }

        public Criteria andOutTotalPowerNotIn(List<BigDecimal> values) {
            addCriterion("out_total_power not in", values, "outTotalPower");
            return (Criteria) this;
        }

        public Criteria andOutTotalPowerBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("out_total_power between", value1, value2, "outTotalPower");
            return (Criteria) this;
        }

        public Criteria andOutTotalPowerNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("out_total_power not between", value1, value2, "outTotalPower");
            return (Criteria) this;
        }

        public Criteria andOutTotalElecMoneyIsNull() {
            addCriterion("out_total_elec_money is null");
            return (Criteria) this;
        }

        public Criteria andOutTotalElecMoneyIsNotNull() {
            addCriterion("out_total_elec_money is not null");
            return (Criteria) this;
        }

        public Criteria andOutTotalElecMoneyEqualTo(BigDecimal value) {
            addCriterion("out_total_elec_money =", value, "outTotalElecMoney");
            return (Criteria) this;
        }

        public Criteria andOutTotalElecMoneyNotEqualTo(BigDecimal value) {
            addCriterion("out_total_elec_money <>", value, "outTotalElecMoney");
            return (Criteria) this;
        }

        public Criteria andOutTotalElecMoneyGreaterThan(BigDecimal value) {
            addCriterion("out_total_elec_money >", value, "outTotalElecMoney");
            return (Criteria) this;
        }

        public Criteria andOutTotalElecMoneyGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("out_total_elec_money >=", value, "outTotalElecMoney");
            return (Criteria) this;
        }

        public Criteria andOutTotalElecMoneyLessThan(BigDecimal value) {
            addCriterion("out_total_elec_money <", value, "outTotalElecMoney");
            return (Criteria) this;
        }

        public Criteria andOutTotalElecMoneyLessThanOrEqualTo(BigDecimal value) {
            addCriterion("out_total_elec_money <=", value, "outTotalElecMoney");
            return (Criteria) this;
        }

        public Criteria andOutTotalElecMoneyIn(List<BigDecimal> values) {
            addCriterion("out_total_elec_money in", values, "outTotalElecMoney");
            return (Criteria) this;
        }

        public Criteria andOutTotalElecMoneyNotIn(List<BigDecimal> values) {
            addCriterion("out_total_elec_money not in", values, "outTotalElecMoney");
            return (Criteria) this;
        }

        public Criteria andOutTotalElecMoneyBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("out_total_elec_money between", value1, value2, "outTotalElecMoney");
            return (Criteria) this;
        }

        public Criteria andOutTotalElecMoneyNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("out_total_elec_money not between", value1, value2, "outTotalElecMoney");
            return (Criteria) this;
        }

        public Criteria andOutTotalSeviceMoneyIsNull() {
            addCriterion("out_total_sevice_money is null");
            return (Criteria) this;
        }

        public Criteria andOutTotalSeviceMoneyIsNotNull() {
            addCriterion("out_total_sevice_money is not null");
            return (Criteria) this;
        }

        public Criteria andOutTotalSeviceMoneyEqualTo(BigDecimal value) {
            addCriterion("out_total_sevice_money =", value, "outTotalSeviceMoney");
            return (Criteria) this;
        }

        public Criteria andOutTotalSeviceMoneyNotEqualTo(BigDecimal value) {
            addCriterion("out_total_sevice_money <>", value, "outTotalSeviceMoney");
            return (Criteria) this;
        }

        public Criteria andOutTotalSeviceMoneyGreaterThan(BigDecimal value) {
            addCriterion("out_total_sevice_money >", value, "outTotalSeviceMoney");
            return (Criteria) this;
        }

        public Criteria andOutTotalSeviceMoneyGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("out_total_sevice_money >=", value, "outTotalSeviceMoney");
            return (Criteria) this;
        }

        public Criteria andOutTotalSeviceMoneyLessThan(BigDecimal value) {
            addCriterion("out_total_sevice_money <", value, "outTotalSeviceMoney");
            return (Criteria) this;
        }

        public Criteria andOutTotalSeviceMoneyLessThanOrEqualTo(BigDecimal value) {
            addCriterion("out_total_sevice_money <=", value, "outTotalSeviceMoney");
            return (Criteria) this;
        }

        public Criteria andOutTotalSeviceMoneyIn(List<BigDecimal> values) {
            addCriterion("out_total_sevice_money in", values, "outTotalSeviceMoney");
            return (Criteria) this;
        }

        public Criteria andOutTotalSeviceMoneyNotIn(List<BigDecimal> values) {
            addCriterion("out_total_sevice_money not in", values, "outTotalSeviceMoney");
            return (Criteria) this;
        }

        public Criteria andOutTotalSeviceMoneyBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("out_total_sevice_money between", value1, value2, "outTotalSeviceMoney");
            return (Criteria) this;
        }

        public Criteria andOutTotalSeviceMoneyNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("out_total_sevice_money not between", value1, value2, "outTotalSeviceMoney");
            return (Criteria) this;
        }

        public Criteria andOutTotalMoneyIsNull() {
            addCriterion("out_total_money is null");
            return (Criteria) this;
        }

        public Criteria andOutTotalMoneyIsNotNull() {
            addCriterion("out_total_money is not null");
            return (Criteria) this;
        }

        public Criteria andOutTotalMoneyEqualTo(BigDecimal value) {
            addCriterion("out_total_money =", value, "outTotalMoney");
            return (Criteria) this;
        }

        public Criteria andOutTotalMoneyNotEqualTo(BigDecimal value) {
            addCriterion("out_total_money <>", value, "outTotalMoney");
            return (Criteria) this;
        }

        public Criteria andOutTotalMoneyGreaterThan(BigDecimal value) {
            addCriterion("out_total_money >", value, "outTotalMoney");
            return (Criteria) this;
        }

        public Criteria andOutTotalMoneyGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("out_total_money >=", value, "outTotalMoney");
            return (Criteria) this;
        }

        public Criteria andOutTotalMoneyLessThan(BigDecimal value) {
            addCriterion("out_total_money <", value, "outTotalMoney");
            return (Criteria) this;
        }

        public Criteria andOutTotalMoneyLessThanOrEqualTo(BigDecimal value) {
            addCriterion("out_total_money <=", value, "outTotalMoney");
            return (Criteria) this;
        }

        public Criteria andOutTotalMoneyIn(List<BigDecimal> values) {
            addCriterion("out_total_money in", values, "outTotalMoney");
            return (Criteria) this;
        }

        public Criteria andOutTotalMoneyNotIn(List<BigDecimal> values) {
            addCriterion("out_total_money not in", values, "outTotalMoney");
            return (Criteria) this;
        }

        public Criteria andOutTotalMoneyBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("out_total_money between", value1, value2, "outTotalMoney");
            return (Criteria) this;
        }

        public Criteria andOutTotalMoneyNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("out_total_money not between", value1, value2, "outTotalMoney");
            return (Criteria) this;
        }

        public Criteria andOutCheckStatusIsNull() {
            addCriterion("out_check_status is null");
            return (Criteria) this;
        }

        public Criteria andOutCheckStatusIsNotNull() {
            addCriterion("out_check_status is not null");
            return (Criteria) this;
        }

        public Criteria andOutCheckStatusEqualTo(String value) {
            addCriterion("out_check_status =", value, "outCheckStatus");
            return (Criteria) this;
        }

        public Criteria andOutCheckStatusNotEqualTo(String value) {
            addCriterion("out_check_status <>", value, "outCheckStatus");
            return (Criteria) this;
        }

        public Criteria andOutCheckStatusGreaterThan(String value) {
            addCriterion("out_check_status >", value, "outCheckStatus");
            return (Criteria) this;
        }

        public Criteria andOutCheckStatusGreaterThanOrEqualTo(String value) {
            addCriterion("out_check_status >=", value, "outCheckStatus");
            return (Criteria) this;
        }

        public Criteria andOutCheckStatusLessThan(String value) {
            addCriterion("out_check_status <", value, "outCheckStatus");
            return (Criteria) this;
        }

        public Criteria andOutCheckStatusLessThanOrEqualTo(String value) {
            addCriterion("out_check_status <=", value, "outCheckStatus");
            return (Criteria) this;
        }

        public Criteria andOutCheckStatusLike(String value) {
            addCriterion("out_check_status like", value, "outCheckStatus");
            return (Criteria) this;
        }

        public Criteria andOutCheckStatusNotLike(String value) {
            addCriterion("out_check_status not like", value, "outCheckStatus");
            return (Criteria) this;
        }

        public Criteria andOutCheckStatusIn(List<String> values) {
            addCriterion("out_check_status in", values, "outCheckStatus");
            return (Criteria) this;
        }

        public Criteria andOutCheckStatusNotIn(List<String> values) {
            addCriterion("out_check_status not in", values, "outCheckStatus");
            return (Criteria) this;
        }

        public Criteria andOutCheckStatusBetween(String value1, String value2) {
            addCriterion("out_check_status between", value1, value2, "outCheckStatus");
            return (Criteria) this;
        }

        public Criteria andOutCheckStatusNotBetween(String value1, String value2) {
            addCriterion("out_check_status not between", value1, value2, "outCheckStatus");
            return (Criteria) this;
        }

        public Criteria andOutFailReasonIsNull() {
            addCriterion("out_fail_reason is null");
            return (Criteria) this;
        }

        public Criteria andOutFailReasonIsNotNull() {
            addCriterion("out_fail_reason is not null");
            return (Criteria) this;
        }

        public Criteria andOutFailReasonEqualTo(Integer value) {
            addCriterion("out_fail_reason =", value, "outFailReason");
            return (Criteria) this;
        }

        public Criteria andOutFailReasonNotEqualTo(Integer value) {
            addCriterion("out_fail_reason <>", value, "outFailReason");
            return (Criteria) this;
        }

        public Criteria andOutFailReasonGreaterThan(Integer value) {
            addCriterion("out_fail_reason >", value, "outFailReason");
            return (Criteria) this;
        }

        public Criteria andOutFailReasonGreaterThanOrEqualTo(Integer value) {
            addCriterion("out_fail_reason >=", value, "outFailReason");
            return (Criteria) this;
        }

        public Criteria andOutFailReasonLessThan(Integer value) {
            addCriterion("out_fail_reason <", value, "outFailReason");
            return (Criteria) this;
        }

        public Criteria andOutFailReasonLessThanOrEqualTo(Integer value) {
            addCriterion("out_fail_reason <=", value, "outFailReason");
            return (Criteria) this;
        }

        public Criteria andOutFailReasonIn(List<Integer> values) {
            addCriterion("out_fail_reason in", values, "outFailReason");
            return (Criteria) this;
        }

        public Criteria andOutFailReasonNotIn(List<Integer> values) {
            addCriterion("out_fail_reason not in", values, "outFailReason");
            return (Criteria) this;
        }

        public Criteria andOutFailReasonBetween(Integer value1, Integer value2) {
            addCriterion("out_fail_reason between", value1, value2, "outFailReason");
            return (Criteria) this;
        }

        public Criteria andOutFailReasonNotBetween(Integer value1, Integer value2) {
            addCriterion("out_fail_reason not between", value1, value2, "outFailReason");
            return (Criteria) this;
        }

        public Criteria andOutFailMsgIsNull() {
            addCriterion("out_fail_msg is null");
            return (Criteria) this;
        }

        public Criteria andOutFailMsgIsNotNull() {
            addCriterion("out_fail_msg is not null");
            return (Criteria) this;
        }

        public Criteria andOutFailMsgEqualTo(String value) {
            addCriterion("out_fail_msg =", value, "outFailMsg");
            return (Criteria) this;
        }

        public Criteria andOutFailMsgNotEqualTo(String value) {
            addCriterion("out_fail_msg <>", value, "outFailMsg");
            return (Criteria) this;
        }

        public Criteria andOutFailMsgGreaterThan(String value) {
            addCriterion("out_fail_msg >", value, "outFailMsg");
            return (Criteria) this;
        }

        public Criteria andOutFailMsgGreaterThanOrEqualTo(String value) {
            addCriterion("out_fail_msg >=", value, "outFailMsg");
            return (Criteria) this;
        }

        public Criteria andOutFailMsgLessThan(String value) {
            addCriterion("out_fail_msg <", value, "outFailMsg");
            return (Criteria) this;
        }

        public Criteria andOutFailMsgLessThanOrEqualTo(String value) {
            addCriterion("out_fail_msg <=", value, "outFailMsg");
            return (Criteria) this;
        }

        public Criteria andOutFailMsgLike(String value) {
            addCriterion("out_fail_msg like", value, "outFailMsg");
            return (Criteria) this;
        }

        public Criteria andOutFailMsgNotLike(String value) {
            addCriterion("out_fail_msg not like", value, "outFailMsg");
            return (Criteria) this;
        }

        public Criteria andOutFailMsgIn(List<String> values) {
            addCriterion("out_fail_msg in", values, "outFailMsg");
            return (Criteria) this;
        }

        public Criteria andOutFailMsgNotIn(List<String> values) {
            addCriterion("out_fail_msg not in", values, "outFailMsg");
            return (Criteria) this;
        }

        public Criteria andOutFailMsgBetween(String value1, String value2) {
            addCriterion("out_fail_msg between", value1, value2, "outFailMsg");
            return (Criteria) this;
        }

        public Criteria andOutFailMsgNotBetween(String value1, String value2) {
            addCriterion("out_fail_msg not between", value1, value2, "outFailMsg");
            return (Criteria) this;
        }

        public Criteria andTenantCheckStatusIsNull() {
            addCriterion("tenant_check_status is null");
            return (Criteria) this;
        }

        public Criteria andTenantCheckStatusIsNotNull() {
            addCriterion("tenant_check_status is not null");
            return (Criteria) this;
        }

        public Criteria andTenantCheckStatusEqualTo(String value) {
            addCriterion("tenant_check_status =", value, "tenantCheckStatus");
            return (Criteria) this;
        }

        public Criteria andTenantCheckStatusNotEqualTo(String value) {
            addCriterion("tenant_check_status <>", value, "tenantCheckStatus");
            return (Criteria) this;
        }

        public Criteria andTenantCheckStatusGreaterThan(String value) {
            addCriterion("tenant_check_status >", value, "tenantCheckStatus");
            return (Criteria) this;
        }

        public Criteria andTenantCheckStatusGreaterThanOrEqualTo(String value) {
            addCriterion("tenant_check_status >=", value, "tenantCheckStatus");
            return (Criteria) this;
        }

        public Criteria andTenantCheckStatusLessThan(String value) {
            addCriterion("tenant_check_status <", value, "tenantCheckStatus");
            return (Criteria) this;
        }

        public Criteria andTenantCheckStatusLessThanOrEqualTo(String value) {
            addCriterion("tenant_check_status <=", value, "tenantCheckStatus");
            return (Criteria) this;
        }

        public Criteria andTenantCheckStatusLike(String value) {
            addCriterion("tenant_check_status like", value, "tenantCheckStatus");
            return (Criteria) this;
        }

        public Criteria andTenantCheckStatusNotLike(String value) {
            addCriterion("tenant_check_status not like", value, "tenantCheckStatus");
            return (Criteria) this;
        }

        public Criteria andTenantCheckStatusIn(List<String> values) {
            addCriterion("tenant_check_status in", values, "tenantCheckStatus");
            return (Criteria) this;
        }

        public Criteria andTenantCheckStatusNotIn(List<String> values) {
            addCriterion("tenant_check_status not in", values, "tenantCheckStatus");
            return (Criteria) this;
        }

        public Criteria andTenantCheckStatusBetween(String value1, String value2) {
            addCriterion("tenant_check_status between", value1, value2, "tenantCheckStatus");
            return (Criteria) this;
        }

        public Criteria andTenantCheckStatusNotBetween(String value1, String value2) {
            addCriterion("tenant_check_status not between", value1, value2, "tenantCheckStatus");
            return (Criteria) this;
        }

        public Criteria andTenantCheckResultIsNull() {
            addCriterion("tenant_check_result is null");
            return (Criteria) this;
        }

        public Criteria andTenantCheckResultIsNotNull() {
            addCriterion("tenant_check_result is not null");
            return (Criteria) this;
        }

        public Criteria andTenantCheckResultEqualTo(String value) {
            addCriterion("tenant_check_result =", value, "tenantCheckResult");
            return (Criteria) this;
        }

        public Criteria andTenantCheckResultNotEqualTo(String value) {
            addCriterion("tenant_check_result <>", value, "tenantCheckResult");
            return (Criteria) this;
        }

        public Criteria andTenantCheckResultGreaterThan(String value) {
            addCriterion("tenant_check_result >", value, "tenantCheckResult");
            return (Criteria) this;
        }

        public Criteria andTenantCheckResultGreaterThanOrEqualTo(String value) {
            addCriterion("tenant_check_result >=", value, "tenantCheckResult");
            return (Criteria) this;
        }

        public Criteria andTenantCheckResultLessThan(String value) {
            addCriterion("tenant_check_result <", value, "tenantCheckResult");
            return (Criteria) this;
        }

        public Criteria andTenantCheckResultLessThanOrEqualTo(String value) {
            addCriterion("tenant_check_result <=", value, "tenantCheckResult");
            return (Criteria) this;
        }

        public Criteria andTenantCheckResultLike(String value) {
            addCriterion("tenant_check_result like", value, "tenantCheckResult");
            return (Criteria) this;
        }

        public Criteria andTenantCheckResultNotLike(String value) {
            addCriterion("tenant_check_result not like", value, "tenantCheckResult");
            return (Criteria) this;
        }

        public Criteria andTenantCheckResultIn(List<String> values) {
            addCriterion("tenant_check_result in", values, "tenantCheckResult");
            return (Criteria) this;
        }

        public Criteria andTenantCheckResultNotIn(List<String> values) {
            addCriterion("tenant_check_result not in", values, "tenantCheckResult");
            return (Criteria) this;
        }

        public Criteria andTenantCheckResultBetween(String value1, String value2) {
            addCriterion("tenant_check_result between", value1, value2, "tenantCheckResult");
            return (Criteria) this;
        }

        public Criteria andTenantCheckResultNotBetween(String value1, String value2) {
            addCriterion("tenant_check_result not between", value1, value2, "tenantCheckResult");
            return (Criteria) this;
        }

        public Criteria andCreatedByIsNull() {
            addCriterion("created_by is null");
            return (Criteria) this;
        }

        public Criteria andCreatedByIsNotNull() {
            addCriterion("created_by is not null");
            return (Criteria) this;
        }

        public Criteria andCreatedByEqualTo(String value) {
            addCriterion("created_by =", value, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByNotEqualTo(String value) {
            addCriterion("created_by <>", value, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByGreaterThan(String value) {
            addCriterion("created_by >", value, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByGreaterThanOrEqualTo(String value) {
            addCriterion("created_by >=", value, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByLessThan(String value) {
            addCriterion("created_by <", value, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByLessThanOrEqualTo(String value) {
            addCriterion("created_by <=", value, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByLike(String value) {
            addCriterion("created_by like", value, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByNotLike(String value) {
            addCriterion("created_by not like", value, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByIn(List<String> values) {
            addCriterion("created_by in", values, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByNotIn(List<String> values) {
            addCriterion("created_by not in", values, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByBetween(String value1, String value2) {
            addCriterion("created_by between", value1, value2, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByNotBetween(String value1, String value2) {
            addCriterion("created_by not between", value1, value2, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeIsNull() {
            addCriterion("created_time is null");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeIsNotNull() {
            addCriterion("created_time is not null");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeEqualTo(Date value) {
            addCriterion("created_time =", value, "createdTime");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeNotEqualTo(Date value) {
            addCriterion("created_time <>", value, "createdTime");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeGreaterThan(Date value) {
            addCriterion("created_time >", value, "createdTime");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("created_time >=", value, "createdTime");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeLessThan(Date value) {
            addCriterion("created_time <", value, "createdTime");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeLessThanOrEqualTo(Date value) {
            addCriterion("created_time <=", value, "createdTime");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeIn(List<Date> values) {
            addCriterion("created_time in", values, "createdTime");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeNotIn(List<Date> values) {
            addCriterion("created_time not in", values, "createdTime");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeBetween(Date value1, Date value2) {
            addCriterion("created_time between", value1, value2, "createdTime");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeNotBetween(Date value1, Date value2) {
            addCriterion("created_time not between", value1, value2, "createdTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByIsNull() {
            addCriterion("last_updated_by is null");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByIsNotNull() {
            addCriterion("last_updated_by is not null");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByEqualTo(String value) {
            addCriterion("last_updated_by =", value, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByNotEqualTo(String value) {
            addCriterion("last_updated_by <>", value, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByGreaterThan(String value) {
            addCriterion("last_updated_by >", value, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByGreaterThanOrEqualTo(String value) {
            addCriterion("last_updated_by >=", value, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByLessThan(String value) {
            addCriterion("last_updated_by <", value, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByLessThanOrEqualTo(String value) {
            addCriterion("last_updated_by <=", value, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByLike(String value) {
            addCriterion("last_updated_by like", value, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByNotLike(String value) {
            addCriterion("last_updated_by not like", value, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByIn(List<String> values) {
            addCriterion("last_updated_by in", values, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByNotIn(List<String> values) {
            addCriterion("last_updated_by not in", values, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByBetween(String value1, String value2) {
            addCriterion("last_updated_by between", value1, value2, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByNotBetween(String value1, String value2) {
            addCriterion("last_updated_by not between", value1, value2, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeIsNull() {
            addCriterion("last_updated_time is null");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeIsNotNull() {
            addCriterion("last_updated_time is not null");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeEqualTo(Date value) {
            addCriterion("last_updated_time =", value, "lastUpdatedTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeNotEqualTo(Date value) {
            addCriterion("last_updated_time <>", value, "lastUpdatedTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeGreaterThan(Date value) {
            addCriterion("last_updated_time >", value, "lastUpdatedTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("last_updated_time >=", value, "lastUpdatedTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeLessThan(Date value) {
            addCriterion("last_updated_time <", value, "lastUpdatedTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeLessThanOrEqualTo(Date value) {
            addCriterion("last_updated_time <=", value, "lastUpdatedTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeIn(List<Date> values) {
            addCriterion("last_updated_time in", values, "lastUpdatedTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeNotIn(List<Date> values) {
            addCriterion("last_updated_time not in", values, "lastUpdatedTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeBetween(Date value1, Date value2) {
            addCriterion("last_updated_time between", value1, value2, "lastUpdatedTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeNotBetween(Date value1, Date value2) {
            addCriterion("last_updated_time not between", value1, value2, "lastUpdatedTime");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {
        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}